package org.jeecg.modules.business.doc.outbound.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.business.doc.outbound.entity.WmsOutReceipt;
import org.jeecg.modules.business.doc.outbound.entity.WmsOutReceiptMaterial;
import org.jeecg.modules.business.doc.outbound.entity.vo.WmsOutReceiptPageVO;
import org.jeecg.modules.business.doc.outbound.entity.vo.WmsOutReceiptQueryVO;

/**
 * @Description: 出库单
 * @Author: jeecg-boot
 * @Date:   2023-08-09
 * @Version: V1.0
 */
public interface WmsOutReceiptMapper extends BaseMapper<WmsOutReceipt> {

    IPage<WmsOutReceiptPageVO> getPage(@Param("page") Page<WmsOutReceipt> page, @Param("vo") WmsOutReceiptQueryVO wmsOutReceipt);

    /**
     * 根据任务id获取出库单物料id
     * @param taskId
     * @return
     */
    List<WmsOutReceiptMaterial> getReceiptMaterialByTaskId(@Param("taskId") String taskId);
}
